package com.neusoft.neuiotms.dcom.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.Knowledge;
import com.neusoft.neuiotms.dcom.model.KnowledgeType;

public interface KnowledgeRepository extends JpaRepository<Knowledge, Long>, CustomizedKnowledgeRepository {

//    Knowledge findByByTitle(String title);
   
    List<Knowledge> findByReadingVolume(Integer readingVolume);
    
    List<Knowledge> findByType(KnowledgeType type);
}
